package com.aizhixin.lab.task.entity;

import com.aizhixin.lab.common.entity.AbstractStringIdAndCreatedDateEntity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name = "t_task_stu_file")
@ToString
public class TaskStuFile extends AbstractStringIdAndCreatedDateEntity {

	@Column(name = "release_task_id")
	@Getter
	@Setter
	private String releaseTaskId;
	@Column(name = "release_question_id")
	@Getter
	@Setter
	private String releaseQuestionId;
	@Column(name = "stu_answer_id")
	@Getter
	@Setter
	private String stuAnswerId;
	@Column(name = "stu_id")
	@Getter
	@Setter
	private Long stuId;
	@Column(name = "file_name")
	@Getter
	@Setter
	private String fileName;
	@Column(name = "file_url")
	@Getter
	@Setter
	private String fileUrl;
	@Column(name = "file_key")
	@Getter
	@Setter
	private String fileKey;
	@Column(name = "order_num")
	@Getter
	@Setter
	private Integer orderNum;
}
